Leadtools TWAIN (Leadtools.Twain assembly)

SaveTemplateFile(String,Int32[],SaveCapabilityOptions) Method

Show in webframe





The name of the file in which to save the capabilities of the selected TWAIN source.
Array of capabilities to be saved. Cannot be null and must contain at least one capability.
Options that specify which values to save. For more information, refer to SaveCapabilityOptions.
Saves a list of capabilities to the specified template file on disk.
Syntax
public void SaveTemplateFile( 
   string templateFileName,
   int[] capabilities,
   SaveCapabilityOptions options
)
'Declaration
 
Public Overloads Sub SaveTemplateFile( _
   ByVal templateFileName As String, _
   ByVal capabilities() As Integer, _
   ByVal options As SaveCapabilityOptions _
) 
'Usage
 
Dim instance As TwainSession
Dim templateFileName As String
Dim capabilities() As Integer
Dim options As SaveCapabilityOptions
 
instance.SaveTemplateFile(templateFileName, capabilities, options)

            

            
public:
void SaveTemplateFile( 
   String^ templateFileName,
   array<int>^ capabilities,
   SaveCapabilityOptions options
) 

Parameters

templateFileName
The name of the file in which to save the capabilities of the selected TWAIN source.
capabilities
Array of capabilities to be saved. Cannot be null and must contain at least one capability.
options
Options that specify which values to save. For more information, refer to SaveCapabilityOptions.
Remarks
For each capability provided by the capabilities parameter, an SaveTemplate event occurs.
For more information, refer to Handling Template Files.
Example
For and example, refer to TwainSession.SaveTemplateFile.
Requirements

Target Platforms

See Also

Reference

TwainSession Class
TwainSession Members
Overload List
Leadtools.Twain.TwainSession.SaveTemplate
Leadtools.Twain.TwainSession.LoadTemplate
LoadTemplateFile Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.